func github.com/golang-jwt/jwt/v5.errorIfFalse
7 uses
github.com/golang-jwt/jwt/v5 (current package)
validator.go#L177: return errorIfFalse(cmp.Before((exp.Time).Add(+v.leeway)), ErrTokenExpired)
validator.go#L198: return errorIfFalse(!cmp.Before(iat.Add(-v.leeway)), ErrTokenUsedBeforeIssued)
validator.go#L219: return errorIfFalse(!cmp.Before(nbf.Add(-v.leeway)), ErrTokenNotValidYet)
validator.go#L255: return errorIfFalse(result, ErrTokenInvalidAudience)
validator.go#L275: return errorIfFalse(iss == cmp, ErrTokenInvalidIssuer)
validator.go#L295: return errorIfFalse(sub == cmp, ErrTokenInvalidSubject)
validator.go#L300: func errorIfFalse(value bool, err error) error {
![]() |
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |